- 
		Home
	
 
	- 
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
 
- 
2.20.3
 
- 
Code
 
- 
Classes
 
-  User 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											66 | 
										
																			
											| Dependencies | 
											8 | 
										
																			
											| Dependents | 
											33 | 
										
																	
							 
													
								
																			
											| Total lines | 
											586 | 
										
																			
											| Lines of code | 
											274 | 
										
																			
											| Logical lines of code | 
											125 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											244 | 
										
																			
											| Methods | 
											35 | 
										
																			
											| Properties | 
											3 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 35
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| syncCustomerIds() | 
									A  | 
																	43 | 
													7 | 
													59 | 
							
					
				| create() | 
									A  | 
																	45 | 
													8 | 
													42 | 
							
					
				| findByCustomerId() | 
									S  | 
																	55 | 
													4 | 
													21 | 
							
					
				| customerId() | 
									S  | 
																	61 | 
													4 | 
													13 | 
							
					
				| setCustomerId() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| hasCustomerId() | 
									S  | 
																	67 | 
													3 | 
													8 | 
							
					
				| login() | 
									S  | 
																	63 | 
													2 | 
													11 | 
							
					
				| customerIds() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| removeCustomerId() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| createUniqueUsername() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| getUserBy() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| customer() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| getAttribute() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| getCustomerMetaKey() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| isCustomer() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| __construct() | 
									S  | 
																	89 | 
													1 | 
													2 | 
							
					
				| subscriptions() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| orders() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| current() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| find() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| getWPUser() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setAttribute() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| hasAttribute() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| jsonSerialize() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| __get() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| __set() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| offsetExists() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| offsetGet() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| offsetSet() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| offsetUnset() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| getUser() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| __isset() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| __unset() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| __call() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| __callStatic() | 
									S  | 
																	78 | 
													1 | 
													3 |